package com.ftg.learn.chapter05;

/**
 * @author kangjx
 * @createTime 2022/7/6
 */
public class DemoMap {

    public static void main(String[] args) {
        Item<Integer>[] abc = new Item[2];
        abc[0] = new Item<>(23);
        abc[1] = new Item<>(56);

        if(abc[0] != null){
            Item<Integer> temp = abc[0];
            temp.setNext(new Item(78));
        }


    }

}
